package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Anuja Kelkar
 * Date: 7/10/13
 * Time: 3:36 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book {
    private String bookName;

    public Book(String bkName)
    {
        this.bookName=bkName;
    }

    public Book(int n)
    {
        this.bookName="";
    }

    //function to retrieve bookname
    String getBookName(int i)
    {
        String[] BookNames=new String[20];
        BookNames[0]="Les Miserables";
        BookNames[1]="Game of Thrones";
        BookNames[2]="The Hobbit";
        BookNames[3]="The Great Gatsby";
        BookNames[4]="Gone Girl";
        BookNames[5]="Little Women";
        BookNames[6]="The Origin of Species";
        BookNames[7]="To Kill a Mockingbird";
        BookNames[8]="Pride and Prejudice";
        BookNames[9]="The Giving Tree";
        BookNames[10]="The Kite Runner";
        BookNames[11]="Brave New World";
        BookNames[12]="The Fountainhead";
        BookNames[13]="Memoirs of a Geisha";
        BookNames[14]="The Secret Garden";
        BookNames[15]="The Alchemist";
        BookNames[16]="Catch-22";
        BookNames[17]="A Thousand Splendid Suns";
        BookNames[18]="The Count of Monte Cristo";
        BookNames[19]="Don Quixote";
        return(BookNames[i]);
    }
}

